package net.tngou.crawler.pojo;

import com.alibaba.fastjson.JSONObject;
/**
 *  互联网药品信息服务 
 * @author tngou@tngou.net
 *
 */
public class Onlinedrugservice extends POJO {

	private String  number 	;//		证书编号 	
	private String  type 	;//		服务性质 	
	private String  name 	;//			机构名称 	
	private String  legal 	;//			法定代表 	
	private String  leader  ;//	 		网站负责人 	
	private String  record 	;//			变更历史记录 	
	private String  url 	;//			网站域名 	
	private String  organ 	;//	 		发证机关 	
	private String  sdate 	;//	 		有效起始日期 	
	private String  edate 	;//			有效截至日期 	
	private String  state 	;//	 		证书状态 	
	private String  address ;//			地址邮编 	
	public Onlinedrugservice() {}
	public Onlinedrugservice(JSONObject json) {
		if(json!=null) {
			this.number=json.getString("证书编号");
			this.type=json.getString("服务性质"); 	
			this.name=json.getString("机构名称"); 	
			this.legal=json.getString("法定代表"); 	
			this.leader=json.getString("网站负责人"); 	
			this.record=json.getString("变更历史记录"); 	
			this.url=json.getString("网站域名"); 	
			this.organ=json.getString("发证机关"); 	
			this.sdate=json.getString("有效起始日期"); 	
			this.edate=json.getString("有效截至日期"); 	
			this.state=json.getString("证书状态"); 	
			this.address=json.getString("地址邮编"); 
			
		}
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLegal() {
		return legal;
	}
	public void setLegal(String legal) {
		this.legal = legal;
	}
	public String getLeader() {
		return leader;
	}
	public void setLeader(String leader) {
		this.leader = leader;
	}
	public String getRecord() {
		return record;
	}
	public void setRecord(String record) {
		this.record = record;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getOrgan() {
		return organ;
	}
	public void setOrgan(String organ) {
		this.organ = organ;
	}
	public String getSdate() {
		return sdate;
	}
	public void setSdate(String sdate) {
		this.sdate = sdate;
	}
	public String getEdate() {
		return edate;
	}
	public void setEdate(String edate) {
		this.edate = edate;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	
}
